﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	用户注册
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="script_css" runat="server">
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/bar.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/ckeditor.js" type="text/javascript"></script>
    <script type="text/javascript">
        function check() {
            return true;
        }
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div style="width: 100%;text-align:center;vertical-align:middle;">
<%using (Ajax.BeginForm("AddUser", "User", null, new AjaxOptions() { UpdateTargetId = "usercontent", HttpMethod = "Post", OnBegin = "check" }))
  { %>
<table>
    <tr>
        <td style="width: 100px;">
            用户名：
        </td>
        <td>
            <input type="text" id="tbUser" name="tbUser" />
        </td>
    </tr>
    <tr>
        <td>
            密码：
        </td>
        <td>
            <input type="password" id="tbPassword" name="tbPassword" />
        </td>
    </tr>
    <tr>
        <td>
            邮箱：
        </td>
        <td>
            <input type="text" id="tbEmail" name="tbEmail" />
        </td>
    </tr>
    <tr>
        <td>
            手机号：
        </td>
        <td>
            <input type="text" id="tbPhonenumber" name="tbPhonenumber" />
        </td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: left;">
            <input type="submit" value="确认" />
        </td>
    </tr>
</table>

<%} %>
</div>

</asp:Content>
